/**
 * 
 */
package com.vivi.codereview.actors;

import java.io.File;

import com.vivi.codereview.tools.Log;
import com.vivi.codereview.tools.UserInputHandler;

/**
 * 
 * Actor mocking some items to test easily new features.
 * 
 * @author vivi
 * 
 */
public class TestAgileReviewerActor extends AgileReviewerActor {
	
	@Override
	protected String getRootDirectory() {
		return "";
	}
	
	@Override
	protected String selectFolder(String folder, String label) throws Exception {
		Log.log("Enter anything to override folder selection", Log.I);
		new UserInputHandler().getUserInput(label);
		return "";
	}
	
	@Override
	protected File getZippedFile(String folder, String filename) throws Exception {
		String filepath = new UserInputHandler().getUserInput("provide real zip File");
		return new File(filepath);
	}
	
	@Override
	public String getName() {
		return "Tester Agile Reviewer";
	}

}
